import 'package:flustars_flutter3/flustars_flutter3.dart';
import 'package:flutter/material.dart';
import 'package:ls_work/res/colors.dart';
import 'package:ls_work/res/styles.dart';

class ElderCheckReportPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SingleChildScrollView(
      child: Column(
        mainAxisAlignment: MainAxisAlignment.start,
        crossAxisAlignment: CrossAxisAlignment.start,
        children: <Widget>[
          Container(height: 5,width: double.infinity,color: Colours.bg_color,),
          Padding(
            padding: EdgeInsets.all(12),
            child: Row(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              children: <Widget>[
                Text.rich(TextSpan(children: [
                  TextSpan(
                    text: '记录人：',
                    style: TextStyles.textBoldDark16,
                  ),
                  TextSpan(text: '李大霄', style: TextStyles.textGray16)
                ])),
                Text('2019-09-09',style: TextStyles.textGray14,),
              ],
            ),
          ),
          Padding(
            padding: EdgeInsets.all(12),
            child: Text('胸片',style: TextStyles.textGray14,),
          ),
          Padding(
            padding: EdgeInsets.fromLTRB(40, 0, 30, 10),
            child: Container(
              width: ScreenUtil.getScreenW(context),
              height: 200,
              decoration: BoxDecoration(
                color: Colours.bg_color,
                borderRadius: BorderRadius.circular(4)

              ),
            ),
          ),
          Padding(
            padding: EdgeInsets.all(12),
            child: Text('体检报告',style: TextStyles.textGray14,),
          ),
          Padding(
            padding: EdgeInsets.fromLTRB(40, 0, 30, 20),
            child: Container(
              width: ScreenUtil.getScreenW(context),
              height: 300,
              decoration: BoxDecoration(
                color: Colours.bg_color,
                borderRadius: BorderRadius.circular(4)

              ),
            ),
          ),
        ],
      ),
    );
  }
}
